﻿using System.Collections.Generic;

namespace HouseKeeperCore.Hierarchical
{
    /// <summary>
    ///  A class that provides a basic implementation of IGroup
    /// </summary>
    public class Tag : ITagging
    {
        #region Properties

        /// <summary>
        ///  All the entities this tag applies to
        /// </summary>
        public IEnumerable<ITagged> TaggedItems
        {
            get;
            internal set;
        }

        #endregion

        #region Constructors

        /// <summary>
        ///  Instantiates a tag
        /// </summary>
        public Tag()
        {
            TaggedItems = new List<ITagged>();
        }

        #endregion
    }
}
